home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / bash.postrm < prev    next >
Text File  |  2009-09-14  |  498b  |  26 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6.     upgrade|failed-upgrade|abort-install|abort-upgrade)
  7.     ;;
  8.     remove|purge|disappear)
  9.     if which remove-shell >/dev/null 2>&1 && [ -f /etc/shells ]; then
  10.         remove-shell /bin/bash
  11.         remove-shell /bin/rbash
  12.     fi
  13.     ;;
  14.     *)
  15.         echo "postrm called with unknown argument \`$1'" >&2
  16.         exit 1
  17.     ;;
  18. esac
  19.  
  20. # Automatically added by dh_installmenu
  21. if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
  22. # End automatically added section
  23.  
  24.  
  25. exit 0
  26.